package com.zwps.biz.dal.db.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zwps.biz.dal.db.object.SysUserDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zwps.common.api.model.vo.RoleVO;

import java.util.List;

/**
 * @Entity com.zwps.biz.dal.db.object.SysUser
 */
@DS("lhk")
public interface SysUserDAO extends BaseMapper<SysUserDO> {

    SysUserDO selectByName(String username);

    List<RoleVO> selectRoleByName(String username);
}




